liblockdep: Define the ARRAY_SIZE() macro
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 20:14:14 +0000 (21:14 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 13 Nov 2016 04:38:09 +0000 (04:38 +0000)
commita6a8bad26069e4b4f121a72735a491bc209d93cd
treebd5372053802e4f68c1001a0b08c4ee3fa26c5a4
parent8506d4b6be2d6cecfcedcd1bf76c38a239620cba
liblockdep: Define the ARRAY_SIZE() macro

lockdep.c now uses ARRAY_SIZE().

Fixes: 75dd602a5198 ("lockdep: Fix lock_chain::base size")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name liblockdep-define-the-array_size-macro.patch
tools/lib/lockdep/uinclude/linux/kernel.h